package com.xssq.demo.controller;

import com.xssq.mvc.annotation.Controller;
import com.xssq.mvc.annotation.Request;

@Controller
public class IndexController {
	
	@Request.Get("/")
	public String index() {
		return "index";
	}
	
	@Request.Get("/redirect")
	public String redirectToIndex() {
		return "redirect:/";
	}
}
